//
//  MyCollectionViewCell.m
//  QRCode
//
//  Created by My Mac on 2017/5/27.
//  Copyright © 2017年 MyMac. All rights reserved.
//

#import "MyCollectionViewCell.h"

@implementation MyCollectionViewCell

-(instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        self = [[NSBundle mainBundle]loadNibNamed:@"MyCollectionViewCell" owner:self options:nil].lastObject;
    }
    return self;
}
- (void)awakeFromNib {
    [super awakeFromNib];
    self.layer.cornerRadius = 6;
    self.backgroundColor = [UIColor colorWithRed:1/255.0 green:92/255.0 blue:220/255.0 alpha:1.0];
}

@end
